package com.blog.study.study4;

/**
 * 用户类.
 *
 * @author 张俊强~.
 * @date 2017/11/21-9:39.
 */
public class UserInfo {


    @UserInfoValue(value = "张三")
    private String userName;

    @UserInfoValue(value = "18")
    private Integer userAge;

    @UserInfoValue(value = "男")
    private String userSex;

    @Override
    public String toString() {
        return "UserInfo{" +
                "userName='" + userName + '\'' +
                ", userAge='" + userAge + '\'' +
                ", userSex='" + userSex + '\'' +
                '}';
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }
}
